package thread2;

public class ThreadDemo extends SleepDemo {
    public void run() {
        System.out.println("thread run");
    }

    public static void main(String[] args) {
        Thread demo = new Thread();
        // 线程不一定立即执行，cpu调度安排
        demo.start();
    }
}
